/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import entities.Category;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Jesus
 */
@Local
public interface CategoryBeanLocal {

    List<Category> findAll();

    List<Category> findAllVisible();

    Category findById(Short id);

    Category findByName(String name);

    Category getChildren(Category c);

    Category insert(Category category);

    Category update(Category category);
}
